//导入express框架
const express = require('express')
//创建路由对象
const router = express.Router()

//获取地址列表信息
router.get('/getAddress', require('./address/getAddress'))
//删除地址
router.post('/removeAddress',require('./address/removeAddress'))
//设置默认地址
router.post('/setDefault',require('./address/setDefault'))
//添加新地址
router.post('/addNewAddress',require('./address/addNewAddress'))
module.exports = router